<div>
    <fieldset><center>
    <?php
	if($presentation!=null){
		if($ids==null) 
			echo $this->Form->postLink(__('Subir Avance'), array('action' => 'addPreview',$presentation['Presentation']['id']), null);
		else{
			echo $this->Form->postLink(__('Eliminar Avance'), array('controller'=>'previews','action' => 'delete',$ids['0']['previews']['preview_id']."|".$ids['0']['previews']['upload_id']), null, __('Estas seguro de que deseas eliminar el avance # %s?', $ids['0']['previews']['preview_id']));?>
			<br><?php 
			echo $this->Html->link(__('Ver Avance'), array('controller'=>'previews','action' => 'view',$ids['0']['previews']['preview_id']));
		}
	}
?>
    </center></fieldset>   
</div>


